package com.yujian.weixin;

import org.weixin4j.message.OutputMessage;
import org.weixin4j.message.event.ClickEventMessage;
import org.weixin4j.message.event.LocationEventMessage;
import org.weixin4j.message.event.LocationSelectEventMessage;
import org.weixin4j.message.event.PicPhotoOrAlbumEventMessage;
import org.weixin4j.message.event.PicSysPhotoEventMessage;
import org.weixin4j.message.event.PicWeixinEventMessage;
import org.weixin4j.message.event.QrsceneScanEventMessage;
import org.weixin4j.message.event.QrsceneSubscribeEventMessage;
import org.weixin4j.message.event.ScanCodePushEventMessage;
import org.weixin4j.message.event.ScanCodeWaitMsgEventMessage;
import org.weixin4j.message.event.SubscribeEventMessage;
import org.weixin4j.message.event.UnSubscribeEventMessage;
import org.weixin4j.message.event.ViewEventMessage;
import org.weixin4j.message.output.TextOutputMessage;
import org.weixin4j.spi.IEventMessageHandler;

public class CustomNormalEventMessageHandler implements IEventMessageHandler{
	protected static final String LINE_SEPARATOR = System.getProperty("line.separator");
	@Override
	public OutputMessage click(ClickEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage location(LocationEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage locationSelect(LocationSelectEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage picPhotoOrAlbum(PicPhotoOrAlbumEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage picSysPhoto(PicSysPhotoEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage picWeixin(PicWeixinEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage qrsceneScan(QrsceneScanEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage qrsceneSubscribe(QrsceneSubscribeEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage scanCodePush(ScanCodePushEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage scanCodeWaitMsg(ScanCodeWaitMsgEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage subscribe(SubscribeEventMessage arg0) {
		TextOutputMessage out = new TextOutputMessage();
        out.setContent("终于等到你，还好我没放弃。"+LINE_SEPARATOR+"1、开发者"+LINE_SEPARATOR+"2、主页"+LINE_SEPARATOR+"3、电话"+LINE_SEPARATOR+"4、习惯"+LINE_SEPARATOR+"5、博客"+LINE_SEPARATOR+"回复相应名词查看更多信息");
        return out;
	}

	@Override
	public OutputMessage unSubscribe(UnSubscribeEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutputMessage view(ViewEventMessage arg0) {
		// TODO Auto-generated method stub
		return null;
	}
	
}
